package com.my.strings.commons;

/**
 * @description:
 * @author: marshal
 * @date: 2021-07-19 4:45 PM
 */
public class SubStringTest {
    public static void main(String[] args) {
        String s = "K1+10";
        System.out.println(s.substring(0,3));
        System.out.println(s.substring(3));
        System.out.println(s.contains("+0"));
    }
}
